﻿using Juego_Lp.Objects;
namespace Juego_Lp.Characters
{
    public class Character
    {
        /*------------------------------------------|ATRIBUTES|-----------------------------------------*/
        private int x, y;
        private int idCharacter;     //Código del personaje.
        private string name;
        private int life;
        private int accuracy;   //precisión, es un porcentaje de probabilidad de tiro
        private Weapon myWeapon;

        /*--------------------------------------|SETTERS & GETTERS|-------------------------------------*/
        public int getX()
        {
            return x;
        }

        public void setX(int x)
        {
            this.x = x;
        }

        public int getY()
        {
            return y;
        }

        public void setY(int y)
        {
            this.y = y;
        }

        public int getidCharacter()
        {
            return idCharacter;
        }

        public void setidCharacter(int idCharacter)
        {
            this.idCharacter = idCharacter;
        }

        public string getName()
        {
            return name;
        }

        public void setName(string name)
        {
            this.name = name;
        }

        public int getLife()
        {
            return life;
        }

        public void setLife(int life)
        {
            this.life = life;
        }

        public int getAccuracy()
        {
            return accuracy;
        }

        public void setAccuracy(int accuracy)
        {
            this.accuracy = accuracy;
        }

        public Weapon getMyWeapon()
        {
            return myWeapon;
        }

        public void setMyWeapon(Weapon aweapon)
        {
            this.myWeapon=aweapon;
        }
        
    }

}